
var form_master = "";
form_master += "<table>";
form_master += "<tr>";

<form-master-list>
form_master += "<td>";
form_master += "<input type='checkbox' id='master_tuid_${fld:_rowIndex}' name='master_tuid' size='30' value='${fld:tuid}' checked>${fld:master_name}";
form_master += "<input type='hidden' dependent='master_tuid_${fld:_rowIndex}' id='master_name_${fld:_rowIndex}' name='master_name' size='30' value='${fld:master_name}'>";
form_master += "<input type='hidden' dependent='master_tuid_${fld:_rowIndex}' id='placement_tuid_${fld:_rowIndex}' name='placement_tuid' size='30' value='${fld:placement_tuid}'>";
form_master += "</td>";

if((${fld:_rowIndex}+1)%8==0)
{
	form_master += "</tr>";
	form_master += "<tr>";
}

</form-master-list>

form_master += "</tr>";
form_master += "</table>";

document.getElementById("form_master_list").innerHTML = form_master;
